package com.gskj.eduservice.entity.subject;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author :CodingFarmer_码农  Connor(康纳)_郭
 * @date : 13:23 20.5.16
 * @Company : http://www.gskj.com
 * @Version : 1.0
 * <p>
 * 一级分类实体
 */

@Data
public class FirstSubject implements Serializable {

    private String id;
    private String title;

    // 一级分类包含多个 二级分类
    private List<SecondSubject> children = new ArrayList<>();
}
